package com.szxy.hotel.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonController {
    @RequestMapping("/toRegist.do")
    public String regist(){
        return "regist";
    }
    @RequestMapping("/toLogin.do")
    public String login(){
        return "login";
    }
    @RequestMapping("/toIndex.do")
    public String index(){
        return "index";
    }
    @RequestMapping("/toGuestroom.do")
    public String guestroom(){
        return "guestroom";
    }
    @RequestMapping("/toCheck.do")
    public String check(){
        return "check";
    }
    @RequestMapping("/toReserve.do")
    public String reserve(){
        return "reserve";
    }
    @RequestMapping("/toRetrieve.do")
    public String retrieve(){
        return "retrieve";
    }
    @RequestMapping("/toRoomstatus.do")
    public String roomstatus(){
        return "roomstatus";
    }
    @RequestMapping("/toStatement.do")
    public String statement(){
        return "statement";
    }
    @RequestMapping("/toVip.do")
    public String vip(){
        return "vip";
    }
    @RequestMapping("/toUpdatepassword.do")
    public String updatepassword(){
        return "updatepassword";
    }
}
